using System;
using System.Web;
namespace Senparc.Weixin.BrowserUtility
{
	public static class BroswerUtility
	{
		public static bool SideInWeixinBroswer(HttpContextBase httpContext)
		{
			string userAgent = httpContext.Request.UserAgent;
			return !string.IsNullOrEmpty(userAgent) && (userAgent.Contains("MicroMessenger") || userAgent.Contains("Windows Phone"));
		}
	}
}
